package com.niit.TopOne.othertopone;

import com.niit.bean.OtherTopOneBean;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class OtherTopOneReducer extends Reducer<OtherTopOneBean, NullWritable,OtherTopOneBean,NullWritable> {

    @Override
    protected void reduce(OtherTopOneBean key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        context.write(key,NullWritable.get());
    }

}